<?php $this->load->view("common/page_header");?>
<div id="body_main">
	<div id="admin_header">
		<?php $this->load->view('common/admin_header'); ?>
		<div class="top_cleft">
			<ul>
				<li><a href="###">栏目设置</a></li>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<div id="admin_content">
		<div id="admin_navigator">
			<ul class="navigator"></ul>
		</div>
		<div id="admin_body">
			<div class="form_row">
			<?php if (!empty($father_category)) {?>
				父分类：<?php echo $father_category['name'];?>
			<?php }?>
			<?php if (!empty($sibling_category)) {?>
				兄弟分类：<?php echo $sibling_category['name'];?>
			<?php }?>
			</div>
			<form class="margin_top15 margin_left15" method="post" enctype="multipart/form-data">
			<div class="form_row">
				<label class="input_label"><span class="red">* </span>分类名：</label>
				<input class="input_text_short" type="text" name="name" value="<?php echo empty($category['name']) ? '' : $category['name'];?>"/>
			</div>
			<div class="form_row">
				<label class="input_label"><span class="red">* </span>顺序：</label>
				<input class="input_text_short" type="text" name="ordering" value="<?php echo empty($category['ordering']) ? '' : $category['ordering'];?>"/>
			</div>
			<input type="hidden" name="id" value="<?php echo empty($category_id) ? '' : $category_id;?>"></input>
			<div class="form_action">
				<input type="submit" value="保存" class="input_button margin_left15"/>
			</div>
			</form>
		</div>
		<div class="clear"></div>
	</div>
	<?php $this->load->view("common/footer");?>	
</div>
	
<?php $this->load->view("common/page_footer");?>